<?php
namespace Admin\Controller;
use Think\Controller;
class GloableController extends Controller {
	public function _initialize(){
		$id=session('User_id');
		if(!$id){
			$this->redirect("admin/Index/index");
			exit;
		}
	}

}